package com.wtwd.campus.send;

import com.wtwd.campus.common.Constants;
import com.wtwd.campus.entity.Command;
import com.wtwd.campus.entity.MqMessage;

public class QueryLocationSender implements Sender {

    @Override
    public Command dealMessage(MqMessage mqMessage) {
        Command command = buildGeneralQueryCommand(mqMessage);
        command.setStatus(Constants.COMMAND_NEED_SAVE);
        return command;
    }
}
